package com.ztjy.repository.dao;

import com.ztjy.bean.KcWarehouse;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface KcWarehouseDao {
    int addKC(KcWarehouse warehouse);

    boolean updateKCW2(Integer orderdetatlsId,Integer repertory,@Param("flag")Integer flag);

    boolean updateRK(KcWarehouse kcWarehouse,@Param("flag") Integer flag);

    boolean delKC(KcWarehouse kcWarehouse);

    KcWarehouse findAll(KcWarehouse kcWarehouse);

}